package pers.xiaojun.boot.module.system.controller.tenant.vo.tenant;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import pers.xiaojun.boot.common.constants.DateTimePatternConstants;
import pers.xiaojun.boot.common.pojo.PageParam;

import java.time.LocalDateTime;

/**
 * 租户查询请求实体
 *
 * @author xiaojun
 * @since 2025-11-22
 */

@Schema(description = "租户查询请求实体-VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class TenantQueryReqVO extends PageParam {

    @Schema(description = "租户名", example = "XX公司")
    private String name;

    @Schema(description = "联系人", example = "XIAO钧")
    private String contactName;

    @Schema(description = "联系手机", example = "18860888888")
    private String contactMobile;

    @Schema(description = "租户状态（0正常 1停用）", example = "1")
    private Integer status;

    @DateTimeFormat(pattern = DateTimePatternConstants.ISO_DATE_TIME)
    @Schema(description = "创建时间")
    private LocalDateTime[] createTime;

}
